set winsleikit_entry_folder=\entry\build\default\outputs\default\entry-default-signed.hap

set winsleikit_service_folder=\WinsleiServiceAbility\build\default\outputs\default\WinsleiServiceAbility-entry-default-signed.hap

set hdc=hdc.exe

%hdc% shell "mount -o remount,rw /"

%hdc% shell "rm -rf /data/*"

%hdc% shell "mkdir /system/app/com.winslei.winsleikit"

cd ..

%hdc% file send %winsleikit_entry_folder% /system/app/com.winslei.winsleikit/WinsleiKit.hap

%hdc% file send %winsleikit_service_folder% /system/app/com.winslei.winsleikit/WinsleiKit_Service.hap

%hdc% shell "reboot"

Pause